package com.elontian.http.async2;

import java.util.Map;

import android.widget.ImageView;

import com.elontian.http.async2.handler.AsyncHttpHandler;

/**
 * 
 * @author abu
 * 
 */

public interface IAsyncHttpRequest {

	/**
	 * 
	 * @param url
	 *            请求地址
	 * @param handler
	 *            结果回调接口
	 */

	public void get(String url, AsyncHttpHandler handler);

	/**
	 * 
	 * @param url
	 * @param params
	 * @param handler
	 */

	public void post(String url, Map<String, Object> params,
			AsyncHttpHandler handler);

}
